package com.moji.service;

import com.moji.common.entity.MyPage;
import com.moji.entity.MjSeo;
import com.moji.entity.MjWorkOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import com.moji.entity.dto.QuerySeoDto;
import com.moji.entity.dto.QueryWorkOrderDto;
import com.moji.entity.vo.MjWorkOrderVo;

/**
 * <p>
 * 电子工单表 服务类
 * </p>
 *
 * @author ccl
 * @since 2024-08-16
 */
public interface MjWorkOrderService extends IService<MjWorkOrder> {

    /** 分页查询 **/
    MyPage<MjWorkOrder> queryByPage(QueryWorkOrderDto dto);

    /** 删除 **/
    boolean delete(Long id);

    /** 新增 **/
    boolean add(MjWorkOrder mjWorkOrder);

    /** 编辑 **/
    boolean edit(MjWorkOrder mjWorkOrder);

    /** 详情 **/
    MjWorkOrderVo detail(Long id);

    boolean complete(Long id);

    void completeWork();

}
